package com.train.trainmanage;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;


@SpringBootApplication
@EnableScheduling

public class TrainmanageApplication {

	public static void main(String[] args) {
		SpringApplication.run(TrainmanageApplication.class, args);
	}
	
	
	/*@Bean(name = "multipartResolver")  
    public MultipartResolver multipartResolver() {  
        CommonsMultipartResolver resolver = new CommonsMultipartResolver();  
        resolver.setDefaultEncoding("UTF-8");  
        resolver.setResolveLazily(true);//resolveLazily属性启用是为了推迟文件解析，以在在UploadAction中捕获文件大小异常  
        resolver.setMaxInMemorySize(40960);  
        resolver.setMaxUploadSize(5 * 1024 * 1024);//上传文件大小 5M 5*1024*1024  
        return resolver;  
    } */
}
